package com.rainszj.pojo.vo;

import com.rainszj.pojo.po.Type;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;

/**
 * 首页展示的博客
 *
 * @author rainszj
 * 2020/3/16
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class IndexBlog {

    /**
     * Blog表
     */
    private Long id;
    private String title;
    private String description;
    private Integer views;
    private Date createTime;
    private String firstPicture;

    /**
     * User表
     */
    private String nickname;
    private String avatar;

    /**
     * Type表
     */
    private Type type;
}
